.loading {
  display: inline-block;
  width: 50px;
  height: 16px;

  span {
    display: inline-block;
    width: 8px;
    height: 100%;
    margin-left: 2px;
    background: lightgreen;
    border-radius: 4px;
    animation: loadsaven 1.04s ease infinite;
  }

  span:nth-child(1) {
    animation-delay: 0.13s;
  }

  span:nth-child(2) {
    animation-delay: 0.26s;
  }

  span:nth-child(3) {
    animation-delay: 0.39s;
  }

  span:nth-child(4) {
    animation-delay: 0.52s;
  }

  span:nth-child(5) {
    animation-delay: 0.65s;
  }

  @keyframes loadsaven {
    0%,
    100% {
      height: 20px;
      background: lightgreen;
    }

    50% {
      height: 40px;
      margin-top: -20px;
      background: lightblue;
    }
  }
}
